package com.ccp.dev.system.model;

import com.ccp.dev.core.basic.model.BaseModel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 首页布局表 sys_index_layout
 *
 * @author wanghepeng
 * @date 2019-03-21
 */
public class IndexLayout extends BaseModel {
    private static final long serialVersionUID = 1L;

    private String id;
    /**
     *模板名
     */
    private String name;
    /**
     *描述
     */
    private String memo;
    /**
     * 模板html
     */
    private String templateHtml;

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public String getMemo() {
        return memo;
    }

    public void setTemplateHtml(String templateHtml) {
        this.templateHtml = templateHtml;
    }

    public String getTemplateHtml() {
        return templateHtml;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id" , getId())
                .append("name" , getName())
                .append("memo" , getMemo())
                .append("templateHtml" , getTemplateHtml())
                .toString();
    }
}
